package com.yipinhouse.backstage.client;

import com.yipinhouse.backstage.client.param.AddLoanRecordWebParam;
import com.yipinhouse.common.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(contextId = "loanManageBackClient",name="backstage",path = "backstage")
public interface LoanManageWebClient {

    @PostMapping("/addLoanRecord")
    Result addLoanRecord(@RequestBody AddLoanRecordWebParam param);
}
